package cz.cvut.fit.mi_paa.knapsack.strategy;

import cz.cvut.fit.mi_paa.abs.Context;
import cz.cvut.fit.mi_paa.abs.Strategy;
import cz.cvut.fit.mi_paa.knapsack.KnapsackContext;
import cz.cvut.fit.mi_paa.knapsack.KnapsackInstance;

import java.io.IOException;

/**
 * Created with IntelliJ IDEA.
 * User: milos
 * Date: 1.10.12
 * Time: 11:07
 * To change this template use File | Settings | File Templates.
 */
public abstract class KnapsackStrategy extends Strategy {
    protected KnapsackInstance instance;

    public KnapsackStrategy(Context context) {
        super(context);
        this.instance = (KnapsackInstance) context.getInstance();
    }
}
